<?php

namespace App\Http\Models;

use Illuminate\Database\Eloquent\Model;

class Mate extends Model
{
    protected $primaryKey = 'id';
    protected $guarded = [];
    protected $table = 'admin_mates';
    public $timestamps = false;

    public function items(){
        return $this->hasMany(MateItem::class,'mate_id','id');
    }

}
